<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
    <title>{:dingyi($c['name'],'文章资讯')} - {:set('title')}</title>
    <meta name="keywords" content="{$c['keywords']}">
    <meta name="description" content="{$c['description']}">
    {include file="header"}
</head>
<body>
<section class="aui-flexView">
	<header class="aui-navBar aui-navBar-fixed animated slideInDown">
		<a href="/" class="aui-navBar-item left">
			<i class="iconfont">&#xe63a;</i>首页
		</a>
		<div class="aui-center">
			<div class="aui-search-box">
			    <form method="get" action="{if $hover==$m}{:url('index/model/soso',array('m'=>$m))}{else/}{:url('index/index/soso')}{/if}">
    				<i class="iconfont">&#xe619;</i>
    				<input type="text" name="ks" value="{:input('ks')}" placeholder="搜你想搜的">
    			</form>
			</div>
		</div>
		<a href="javascript:;" class="aui-navBar-item yemian" w="60%" tblr="l" h="100%" anim="0" css="menu">
			<i class="iconfont">&#xe640;</i>
		</a>
	</header>
	<section class="menu" style="display: none;">
        <ul class="fudong-nav">
            <li class="active item {:dingyi($c['name'],'info')}"> 
                <a href="{:url('index/index/cate')}"><i class="iconfont">&#xe618;</i>全部资讯<i class="iconfont" style="float: right;">&#xe600;</i></a>
            </li>
            {foreach name=":fun_S('cate',array('tid'=>0),'px desc','1000',1)" item="v" key="k"}
            <li class="active item {if $c.alias==$v.alias||$v.alias==fun_sc_p('cate', array('id'=>$c['tid']), 'alias')}info{/if}"> 
                <a href="{:url('index/index/cate',array('alias'=>$v.alias))}"><i class="iconfont">&#xe618;</i>{$v.name}<i class="iconfont" style="float: right;">&#xe600;</i></a>
                {if fun_st('cate',array('tid'=>$v['id']))}
                <div class="secondnac-box">
                    <ul class="second-nav"> 
                        {volist name=":fun_s('cate',array('tid'=>$v['id']),'px desc',100,1)" id="vo"}
                        <li class="on_nav {if $c.alias==$vo.alias}info{/if}"> 
                            <a href="{:url('index/index/cate',array('alias'=>$vo.alias))}" title="{$vo.name}"><i class="iconfont">&#xe6c0;</i>{$vo.name} <i class="iconfont" style="float: right;">&#xe600;</i></a>
                        </li>
                        {/volist}  
                    </ul>
                </div>
                {/if}
            </li>
            {/foreach}
        </ul>
	</section>
	<section class="aui-scrollView pb-20 animated slideInLeft0">
        <div class="aui-flex">
			<div class="aui-flex-box">
				<h1>{:dingyi($c['name'],'文章资讯')}</h1>
			</div>
		</div>
		<div class="aui-withe-box aui-withe-box-one">
		    {volist name=":fun_sd('html',array('f.open'=>1),$c['id'],'settop desc , times desc','15,false',0)" id="vo" empty="
            <div class='empty' align='center'>
                <img src='/public/img/empty.png'/>
                <p>没有更多的记录</p>
            </div>"}
		    <a href="{:url('index/index/html',array('id'=>$vo.id))}">
    			<div class="aui-flex b-line">
    				<div class="aui-ad-img">
    					<img src="{$vo.content|pic}" alt="{$vo.title}" onerror="javascript:this.src='/public/img/cover/0.jpg';">
    				</div>
    				<div class="aui-flex-box">
    					<h2>{$vo.title}</h2>
    					<p>{:cut_c(htmlspecialchars_decode($vo['content']),20)}</p>
    					<p>{$vo.times|times}</p>
    				</div>
    			</div>
			</a>
			{/volist}
			<div class="aui-all">
				{:fun_sd('html',array('f.open'=>1),$c['id'],'settop desc , times desc','15,false',0)->render()}
			</div>
		</div>
	</section>
</section>
</body>
</html>
